<?php
   require_once('nav.php');
 ?>

 <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
  <h2 class="text-center">家具添加</h2>
 	<form action="doadd.php" method="post" class="form-horizontal" enctype="multipart/form-data">

 		              <div class="form-group">
                    <label for="zb_name" class="col-xs-3 col-md-2 control-label">家具名称</label>
                    <div class="col-md-10 col-xs-9 ">
                        <input type="text" class="form-control" id="zb_name" placeholder="zb_name" name="zb_name" >
                    </div>
                  </div>

                  <div class="form-group">
                        <label for="itemid" class="col-xs-3 col-md-2 control-label">图片</label>
                        <div class="col-xs-3 col-md-2 control-label">
                            <input type="file" name="zb_jiajulink" id="zb_jiajulink" class="form-control">
                        </div>
                  </div>
                  <div class="form-group">
                        <label for="zb_brand" class="col-xs-3 col-md-2 control-label">家具品牌</label>
                        <div class="col-xs-3 col-md-2 control-label">
                            <input type="text" name="zb_brand" id="zb_brand" class="form-control">
                        </div>
                  </div>
                   <div class="form-group">
                        <label for="zb_cid" class="col-xs-3 col-md-2 control-label">家具类别</label>
                        <div class="col-xs-3 col-md-2 control-label">
                            <select class="form-control">
                              <option >==请选择==</option>
                              <option value="1">沙发</option>
                              <option value="2">衣柜</option>
                              
                            </select>
                        </div>
                  </div>
                                    
                  
                  <div class="form-group">
                        <label for="zb_adddate" class="col-xs-3 col-md-2 control-label">添加时间</label>
                        <div class="col-xs-3 col-md-2 control-label">
                            <input type="date" name="zb_adddate" id="zb_adddate" class="form-zb_adddate">
                        </div>
                  </div>
                   <div class="form-group">
                        <label for="zb_intro" class="col-xs-3 col-md-2 control-label">简介</label>
                        <div class="col-xs-3 col-md-2 control-label">
                            <input type="text" name="zb_intro" id="zb_intro" class="form-control">
                        </div>
                  </div>
                  <div class="form-group">
                    <div class="col-md-10 col-xs-9 col-md-offset-2 col-xs-offset-3">
                        <!-- 小设备可偏移 -->
                        <input type="submit" value="添加家具" class="btn btn-primary btn-lg">
                        <input type="reset" value="重置" class="btn btn-default ">
                    </div>
                </div>
        </div>

 	</form>
 </div>









 <?php 
 	require 'footer.php';
 ?>